package com.bxd.baodan.item;

import com.bxd.baodan.base.BaseItem;

/**
 * 问题详情中的答案
 * 
 * @author oldfeel
 * 
 *         Create on: 2014年7月10日
 */
public class AnswerItem extends BaseItem {
	private String qa_id;
	private String qa_content;
	private String u_id;
	private String avatar;
	private String qa_update_date;//回答时间
	private String url;
	private String clauses;
	private String answer_time;
	private String qa_title;
	private String name;//回答人
	private String company;//公司id
	private boolean isvip;//是否是钻石顾问
	private String likenum;//赞的数量
	private String city;//城市
//	private String agenthome;//代理人个人主页
	private double price;//报价
	private int answertype;//回答分组  1推荐回答  0最新回答
	private int agenttype;//代理人身份 0非钻石顾问 1钻石顾问 2高级钻石顾问
//	private boolean isCaiNa;
	private int isBestAnswer;
	private int qaLikeStatus;//0 没有点赞    1点过赞
	public String companyname;
	public String[] agent_mark;
	public int ua_title;
	public String ua_lastSignTime;
	public int ue_onlineStatus;
	public String src;


	public int getAnswertype() {
		return answertype;
	}

	public void setAnswertype(int answertype) {
		this.answertype = answertype;
	}

	public int getAgenttype() {
		return agenttype;
	}

	public void setAgenttype(int agenttype) {
		this.agenttype = agenttype;
	}

	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}

	public String getAnswer_time() {
		return answer_time;
	}

	public void setAnswer_time(String answer_time) {
		this.answer_time = answer_time;
	}

	public String getQa_title() {
		return qa_title;
	}

	public void setQa_title(String qa_title) {
		this.qa_title = qa_title;
	}

	public String getQa_id() {
		return qa_id;
	}

	public void setQa_id(String qa_id) {
		this.qa_id = qa_id;
	}

	public String getQa_content() {
		return qa_content;
	}

	public void setQa_content(String qa_content) {
		this.qa_content = qa_content;
	}

	public String getU_id() {
		return u_id;
	}

	public void setU_id(String u_id) {
		this.u_id = u_id;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getQa_update_date() {
		return qa_update_date;
	}

	public void setQa_update_date(String qa_update_date) {
		this.qa_update_date = qa_update_date;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getClauses() {
		return clauses;
	}

	public void setClauses(String clauses) {
		this.clauses = clauses;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public boolean getIsvip() {
		return isvip;
	}

	public void setIsvip(boolean isvip) {
		this.isvip = isvip;
	}

	public String getLikenum() {
		return likenum;
	}

	public void setLikenum(String likenum) {
		this.likenum = likenum;
	}
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

//	public String getAgenthome() {
//		return agenthome;
//	}
//
//	public void setAgenthome(String agenthome) {
//		this.agenthome = agenthome;
//	}

	@Override
	public String toString() {
		return "AnswerItem [qa_id=" + qa_id + ", qa_content=" + qa_content
				+ ", u_id=" + u_id + ", avatar=" + avatar + ", qa_update_date="
				+ qa_update_date + ", url=" + url + ", clauses=" + clauses
				+ ", answer_time=" + answer_time + ", qa_title=" + qa_title
				+ ", name=" + name + ", company=" + company + ", isvip="
				+ isvip + ", likenum=" + likenum + ", city=" + city
//				+ ", agenthome=" + agenthome 
				+ ", price=" + price
				+ ", answertype=" + answertype + ", agenttype=" + agenttype
				+ "]";
	}

	public int getIsBestAnswer() {
		return isBestAnswer;
	}

	public void setIsBestAnswer(int isBestAnswer) {
		this.isBestAnswer = isBestAnswer;
	}

	public int getQaLikeStatus() {
		return qaLikeStatus;
	}

	public void setQaLikeStatus(int qaLikeStatus) {
		this.qaLikeStatus = qaLikeStatus;
	}


}
